<?php
if (!defined('IN_MEDIA')) die("Hacking attempt");

if ($_POST['reg']) {
	include('register.php');
	exit();
}
elseif ($_POST['login']) {
	include('login.php');
	exit();
}
elseif ($_POST['forgot'] && $_POST['email']) {
	include('user.php');
	exit();
}
elseif ($_POST['reloadPlaylist']) {
	include('playlist.php');
	exit();
}
elseif ($_POST['actionPlaylist']) {
    require 'actionPlaylist.php';
    exit;
}
elseif ($_POST['actionFriend']) {
    require_once 'actionFriend.php';
    exit;
}
elseif ($_POST['actionAuto']) {
    require_once 'autoRequest.php';
    exit;
}
elseif ($_POST['actionLike']) {
	require_once 'actionLike.php';
	exit;
}
?>